package cn.mafangui.hotel.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OrderStatus {

    WAS_DELETED(-3,"已删除"),
    OVERTIME(-2,"订单超时"),
    WAS_CANCELED(-1,"已取消"),
    UNPAID(0,"未付款"),
    PAID(1,"已付款，待入住"),
    CHECK_IN(2,"已入住"),
    CHECK_OUT(3,"已退房")
    ;

    private int code;
    private String status;

}
